//package com.kawaiior.asoulworld.gui.soulRefiner;
//
//import com.kawaiior.asoulworld.IdlFramework;
//import com.kawaiior.asoulworld.network.ContainerAsGoldRefine;
//import net.minecraft.client.gui.inventory.GuiContainer;
//import net.minecraft.client.renderer.GlStateManager;
//import net.minecraft.client.resources.I18n;
//import net.minecraft.entity.player.EntityPlayer;
//import net.minecraft.util.ResourceLocation;
//import net.minecraft.world.World;
//import net.minecraftforge.fml.relauncher.Side;
//import net.minecraftforge.fml.relauncher.SideOnly;
//
//@SideOnly(Side.CLIENT)
//public class SoulRefinerGuiContainer extends GuiContainer {
//
//    private static final ResourceLocation TEXTURE =
//            new ResourceLocation(IdlFramework.MODID + ":textures/gui/container/asoul_soul_refiner.png");
//
//    public SoulRefinerGuiContainer(EntityPlayer player, World world, int x, int y, int z)
//    {
//        super(new SoulRefinerContainer(player,world,x,y,z));
//        this.xSize = 176;
//        this.ySize = 148;
//    }
//
//    @Override
//    public void drawScreen(int mouseX,int mouseY,float partialTicks)
//    {
//        super.drawDefaultBackground();
//        super.drawScreen(mouseX,mouseY,partialTicks);
//        super.renderHoveredToolTip(mouseX,mouseY);
//    }
//
//    @Override
//    protected void drawGuiContainerBackgroundLayer(float partialTicks, int mouseX, int mouseY)
//    {
//        int left = (this.width - this.xSize) / 2;
//        int top = (this.height - this.ySize) / 2;
//        GlStateManager.color(1.0F,1.0F,1.0F,1.0F);
//        this.mc.getTextureManager().bindTexture(TEXTURE);
//        this.drawTexturedModalRect(left,top,0,0,this.xSize,this.ySize);
//        int barHeight = 16;
//        int barWidth = Math.round(((SoulRefinerContainer)this.inventorySlots).getCompressorProgress() * 0.52F);
//        this.drawTexturedModalRect(left + 57, top + 17, 0, 148, barWidth, barHeight);
//        this.drawTexturedModalRect(left + 100, top + 44, ((SoulRefinerContainer)this.inventorySlots).getSoulPowerType(), 164, 4, 15);
//        int i = ((SoulRefinerContainer)this.inventorySlots).getSoulPower();
//        this.drawTexturedModalRect(left + 99, top + 44, 0, 164, 6, Math.round(15F * ((200F - i)/200F)));
//    }
//
//    @Override
//    protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY)
//    {
//        String text = I18n.format("tile.asoul_soul_refiner.name");
//        this.drawCenteredString(this.fontRenderer,text,this.xSize / 2,6,0x00F0E68C);
//    }
//
//}
